
DEBUG = y

ifeq ($(DEBUG), y)
	DEBFLAGS = -O -g -DSCULL_DEBUG
else
	DEBFLAGS = -O2
endif

EXTRA_CFLAGS += $(DEBFLAGS)

	obj-m := scull.o
	scull-objs := main.o

clean:
	rm -fr *.o *.ko *.mod.c  *.order *.symvers .*.cmd .tmp_versions
	
	
